type R<T> = {
  code: number
  message: string
  success: boolean
  data: T
  token: string
}

type PageBean = {
  pageSize: number
  pageNumber: number
  pageCount: number
  total: number
}

type PageVo<T> = {
  list: Array<T>
  pageBean: PageBean
}

type TbClass = {
  id: number
  cname: string
  description: string
  createAt: number
}

export type { R, PageBean, PageVo, TbClass }
